<?php foreach( $arRoles as $roleKey => $roleValue ): ?>
    <?php echo checkbox_tag('user[roles][]', $roleKey, !empty($userRoles[$roleKey]));?>
    <?php echo __($roleValue); ?>
    <br />
<?php endforeach; ?>
